package com.booklove.domain.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 订单列表
 * </p>
 *
 * @author author
 * @since 2024-09-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("orders")
@ApiModel(value = "Orders对象", description = "订单列表")
public class OrdersFormTakeDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "书名，冗余的字段，减少查询，此订单的书名")
    private String bookName;

    @ApiModelProperty(value = "对应的是许愿书籍和捐赠书籍的title")
    private String title;

    @ApiModelProperty(value = "捐书id")
    private Integer donateBookId;


    @ApiModelProperty(value = "被索取donate书籍的UserId -- 发出书籍的UserId")
    private Integer sendUserId;

        /*
    包含的派送字段
     */

    @ApiModelProperty(value = "出发点")
    private Integer addressStartId;

    @ApiModelProperty(value = "终点")
    private Integer addressEndId;

}
